package org.fly.bean;

import java.util.List;

/**
 * @author  fly
 */
public class Role {
    /**
     * 主键
     */
    private String id;
    /**
     * 名称
     */
    private String name;
    /**
     * 状态
     * @see org.fly.enums.Status
     */
    private String status;
    /**
     * 创建时间
     */
    private long createTime;

    /**
     * 角色的权限路径
     */
    private List<UrlPath> urlPaths;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public List<UrlPath> getUrlPaths() {
        return urlPaths;
    }

    public void setUrlPaths(List<UrlPath> urlPaths) {
        this.urlPaths = urlPaths;
    }
}
